package com.t174.car.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class GuestsAdvisory {

  private int id;
  private int guests;

  @DateTimeFormat(pattern="yyyy-MM-dd")
  private Date date;
  private String note;
 private Guests guests1;

  public Guests getGuests1() {
    return guests1;
  }


    public void setGuests1(Guests guests1) {
        this.guests1 = guests1;
    }
    public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }


  public int getGuests() {
    return guests;
  }

  public void setGuests(int guests) {
    this.guests = guests;
  }

  @JsonFormat(pattern = "yyyy-MM-dd")
  public Date getDate() {
    return date;
  }

  public void setDate(Date date) {
    this.date = date;
  }


  public String getNote() {
    return note;
  }

  public void setNote(String note) {
    this.note = note;
  }

}
